// @ts-ignore
/* eslint-disable */
import { request } from 'umi';

/** 保存  POST */
export async function saveAppoint(options?: { [key: string]: any }) {
  return request<BaseResponseBean.response<string>>('/assess/week/emphasize/appoint/source/save', {
    method: 'POST',
    data: options || {},
  });
}

/** 传播质效 目标平台来源 列表 POST */
export async function pageAppoint(options?: { [key: string]: any }) {
  return request<
    BaseResponseBean.responsePage<AssessWeekEmphasizeAppointSourceData.PageAppointSource[]>
  >('/assess/week/emphasize/appoint/source/page', {
    method: 'POST',
    data: options || {},
  });
}

/** 传播质效 目标平台来源 列表 POST */
export async function updateAppoint(options?: { [key: string]: any }) {
  return request<BaseResponseBean.response<string>>('/assess/week/emphasize/appoint/source/update', {
    method: 'POST',
    data: options || {},
  });
}
